<?php
$this->load->view('not_logged_in/components/header',array('current_page'=>2));
?>
<!-- Banner Wrapper -->
<div id="banner-wrapper">
	<div class="container">
		<div class="row">
			<div class="12u">

				<!-- Banner -->
				<div id="banner" class="box">

					<div>
						<div class="row">
							<div class="8u">
								<h2>Member Register</h2>
							</div>
						</div>
						<div class="row">
							<div class="5u">
								<form name="frmEdit" id="frmEdit" action="" method="post" enctype="multipart/form-data">
									<div class="input-group input-group-lg">
										<span class="input-group-addon">Full name</span>
										<input type="text" name="name" value="" id="name" class="form-control">
									</div>
									<br/>

									<div class="input-group input-group-lg">
										<span class="input-group-addon">Username</span>
										<input type="text" name="username" value="" id="fname" class="form-control">
									</div>
									<br/>

									<div class="input-group input-group-lg">
										<span class="input-group-addon">Password</span>
										<input type="password" name="password" value="" id="lname" class="form-control">
									</div>
									<br/>

									<div class="input-group input-group-lg">
										<span class="input-group-addon">Re-Password</span>
										<input type="password" name="repassword" value="" id="lname"
										       class="form-control">
									</div>
									<br/>

									<div class="input-group input-group-lg">
										<span class="input-group-addon">Email</span>
										<input type="text" name="email" value="" id="email" class="form-control">
									</div>
									<br/>

									<div class="input-group input-group-lg">
										<span class="input-group-addon">Address</span>
										<input type="text" name="address" value="" id="address" class="form-control">
									</div>
									<br/>

									<div class="btn-group">
									<span class="btn btn-default btn-lg">
										<input name="gender" id="male" value="1" type="radio" class="radio-inline"
										       style="margin: auto 0"/>
										<label for="male">Male</label>
									</span>
									<span class="btn btn-default btn-lg">
										<input name="gender" id="female" value="2" type="radio" class="radio-inline"
										       style="margin: auto 0"/>
										<label for="female">Female</label>
									</span>
									</div>
									<br/>
									<br/>

									<div  class="input-group input-group-lg">
										<input id="uploadFile" class="form-control" placeholder="Upload Avatar" disabled="disabled" />

										<div class="input-group-addon btn-lg fileUpload btn btn-primary"
										     style=" position: relative; overflow: hidden; background-color: #5cb85c; border-color: #4cae4c; color: #ffffff">
											<span>Upload</span>
											<input id="uploadBtn" name="image" type="file" class="upload"
											       style="position: absolute; top: 0; right: 0; margin: 0; padding: 0; font-size: 20px; cursor: pointer; opacity: 0; filter: alpha(opacity=0);"
											       onchange='document.getElementById("uploadFile").value = this.value;'/>
										</div>
									</div>
									<br/>
									<input type="submit" name="ok" class="btn-lg btn-success" value="Register"/><br/>

								</form>

							</div>

							<div class="7u">
								<ul>
									<?php
									echo validation_errors('<li><h3 style="color: #ff872f">','</h3></li>');
									if($error!="" && !empty($error))
										echo $error;
									?>
								</ul>
							</div>
						</div>
					</div>

				</div>

			</div>
		</div>
	</div>
</div>

<?php
$this->load->view('not_logged_in/components/footer');
?>